﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002FB RID: 763
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClientObjUploadCsReq : IMessage<ClientObjUploadCsReq>, IMessage, IEquatable<ClientObjUploadCsReq>, IDeepCloneable<ClientObjUploadCsReq>, IBufferMessage
	{
		// Token: 0x170009DF RID: 2527
		// (get) Token: 0x06002222 RID: 8738 RVA: 0x00060768 File Offset: 0x0005E968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClientObjUploadCsReq> Parser
		{
			get
			{
				return ClientObjUploadCsReq._parser;
			}
		}

		// Token: 0x170009E0 RID: 2528
		// (get) Token: 0x06002223 RID: 8739 RVA: 0x0006076F File Offset: 0x0005E96F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClientObjUploadCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009E1 RID: 2529
		// (get) Token: 0x06002224 RID: 8740 RVA: 0x00060781 File Offset: 0x0005E981
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClientObjUploadCsReq.Descriptor;
			}
		}

		// Token: 0x06002225 RID: 8741 RVA: 0x00060788 File Offset: 0x0005E988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientObjUploadCsReq()
		{
		}

		// Token: 0x06002226 RID: 8742 RVA: 0x0006079B File Offset: 0x0005E99B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientObjUploadCsReq(ClientObjUploadCsReq other) : this()
		{
			this.iIHMOHBIHKL_ = other.iIHMOHBIHKL_;
			this.uploadData_ = other.uploadData_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002227 RID: 8743 RVA: 0x000607CC File Offset: 0x0005E9CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClientObjUploadCsReq Clone()
		{
			return new ClientObjUploadCsReq(this);
		}

		// Token: 0x170009E2 RID: 2530
		// (get) Token: 0x06002228 RID: 8744 RVA: 0x000607D4 File Offset: 0x0005E9D4
		// (set) Token: 0x06002229 RID: 8745 RVA: 0x000607DC File Offset: 0x0005E9DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IIHMOHBIHKL
		{
			get
			{
				return this.iIHMOHBIHKL_;
			}
			set
			{
				this.iIHMOHBIHKL_ = value;
			}
		}

		// Token: 0x170009E3 RID: 2531
		// (get) Token: 0x0600222A RID: 8746 RVA: 0x000607E5 File Offset: 0x0005E9E5
		// (set) Token: 0x0600222B RID: 8747 RVA: 0x000607ED File Offset: 0x0005E9ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ByteString UploadData
		{
			get
			{
				return this.uploadData_;
			}
			set
			{
				this.uploadData_ = ProtoPreconditions.CheckNotNull<ByteString>(value, "value");
			}
		}

		// Token: 0x0600222C RID: 8748 RVA: 0x00060800 File Offset: 0x0005EA00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClientObjUploadCsReq);
		}

		// Token: 0x0600222D RID: 8749 RVA: 0x00060810 File Offset: 0x0005EA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClientObjUploadCsReq other)
		{
			return other != null && (other == this || (this.IIHMOHBIHKL == other.IIHMOHBIHKL && !(this.UploadData != other.UploadData) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600222E RID: 8750 RVA: 0x00060860 File Offset: 0x0005EA60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IIHMOHBIHKL != 0U)
			{
				num ^= this.IIHMOHBIHKL.GetHashCode();
			}
			if (this.UploadData.Length != 0)
			{
				num ^= this.UploadData.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600222F RID: 8751 RVA: 0x000608BA File Offset: 0x0005EABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002230 RID: 8752 RVA: 0x000608C2 File Offset: 0x0005EAC2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002231 RID: 8753 RVA: 0x000608CC File Offset: 0x0005EACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IIHMOHBIHKL != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.IIHMOHBIHKL);
			}
			if (this.UploadData.Length != 0)
			{
				output.WriteRawTag(122);
				output.WriteBytes(this.UploadData);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002232 RID: 8754 RVA: 0x0006092C File Offset: 0x0005EB2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IIHMOHBIHKL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IIHMOHBIHKL);
			}
			if (this.UploadData.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeBytesSize(this.UploadData);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002233 RID: 8755 RVA: 0x00060988 File Offset: 0x0005EB88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClientObjUploadCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IIHMOHBIHKL != 0U)
			{
				this.IIHMOHBIHKL = other.IIHMOHBIHKL;
			}
			if (other.UploadData.Length != 0)
			{
				this.UploadData = other.UploadData;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002234 RID: 8756 RVA: 0x000609DD File Offset: 0x0005EBDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002235 RID: 8757 RVA: 0x000609E8 File Offset: 0x0005EBE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 122U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.UploadData = input.ReadBytes();
					}
				}
				else
				{
					this.IIHMOHBIHKL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000DE9 RID: 3561
		private static readonly MessageParser<ClientObjUploadCsReq> _parser = new MessageParser<ClientObjUploadCsReq>(() => new ClientObjUploadCsReq());

		// Token: 0x04000DEA RID: 3562
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000DEB RID: 3563
		public const int IIHMOHBIHKLFieldNumber = 7;

		// Token: 0x04000DEC RID: 3564
		private uint iIHMOHBIHKL_;

		// Token: 0x04000DED RID: 3565
		public const int UploadDataFieldNumber = 15;

		// Token: 0x04000DEE RID: 3566
		private ByteString uploadData_ = ByteString.Empty;
	}
}
